package main

import (
	"github.com/gin-gonic/gin"
	"shop/api"
	"shop/inits"
)

func main() {

	inits.InitMysql()
	r := gin.Default()
	api.Router(r)

	r.Run(":8080") // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
}
